package com.wf.apicommons.entity.chatManagement;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.wf.apicommons.entity.userManagement.UserInformation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description: 好友关系表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_friends_relationship")
public class FriendsRelationship {
  @TableId(value = "id")
  private String ID;
  private UserInformation userId;
  private UserInformation friendsId;
  private Integer applyWhetherAdopt;
  @JsonFormat(pattern = "yyyy-MM-dd HH:MM:ss", timezone = "GMT+8")
  private Date addTime;
}
